<div class="modal-body no-p">
	<div class="row">
		<div class="col-xs-12">
			<section class="panel panel-primary no-b">
				<header class="panel-heading clearfix brtl brtr">
					<div class="overflow-hidden">
						<a href="javascript:;" class="h4 show no-m pt5">退货单详情</a>
					</div>
				</header>

				<div id="formPrinter">
					<div class="table-form">
						<div class="h2">
							退货单
						</div>
						<table>
							
							<tr>
								<td>订单编号</td>
								<td>{{returns.order_no}}</td>
								<td>退货状态</td>
								<td>{{config.setup.returnsStatus[returns.status]}}</td>
								<td>创建时间</td>
								<td>{{returns.create_time | datetime}}</td>

							</tr>
							
							<tr>

								<td>退货人</td>
								<td>{{returns.name}}</td>
								<td>退货地址</td>
								<td colspan="3">{{returns.country.name}}{{returns.province.name}}{{returns.city.name}}{{returns.district.name}}{{returns.address}}</td>
								

							</tr>
							<tr>
								<td>邮编</td>
								<td>{{returns.zip}}</td>
								<td>退货人电话</td>
								<td>{{returns.mobile}}</td>
								<td>退货类型</td>
								
								<td>{{config.setup.returnsType[returns.type]}}</td>
								
								
								
							</tr>
							<tr>
								<td>退货原因</td>
								<td colspan="5">
									{{returns.reason}}
								</td>
							</tr>
							
							{% if returns.status == 1%}
							<tr>
								<td>物流公司</td>
								<td>{{returns.express.name}}</td>
								<td>物流单号</td>
								<td>{{returns.express_no}}</td>
								<td>退货时间</td>
								<td>{{returns.return_time | datetime}}</td>
							</tr>
							
							
							{% endif %}
							<tr>
								<td>处理时间</td>
								<td>{{returns.deal_time | datetime}}</td>
								<td>用户编号</td>
								<td>{{returns.user_id}}</td>
								<td>操作人</td>
								<td>{{returns.admin_id}}</td>
							</tr>
							<tr>
								<td>审核备注</td>
								<td colspan="5">{{returns.deal_idea}}</td>
							</tr>
							
							

						</table>
						{% if returns.goods.id %}
						<table>
							<tr>
								<td colspan="7" class="h5">关联商品</td>
							</tr>
							<tr>
								<td>货号</td>
								<td>图片</td>
								<td>名称</td>
								<td>规格</td>
								<td>售价</td>
								<td>数量</td>
								<td>合计</td>

							</tr>
							
							<tr>
								<td>{{returns.goods.goods_sn}}</td>
								<td><img src="{{returns.goods.list_pic_url}}" onclick="sublime.picture('{{returns.goods.list_pic_url}}')"/></td>
								<td>{{returns.goods.goods_name}}</td>
								<td>{{returns.goods.goods_specifition_name_value}}</td>
								<td>{{returns.goods.real_price}}</td>
								<td>{{returns.goods.number}}</td>
								<td>{{returns.goods.number*returns.goods.real_price}}</td>
								

							</tr>
							
							
						</table>
						{% endif %}
					</div>

				</div>

			</section>

		</div>
	</div>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	<button type="button" class="btn  btn-primary" onclick="sublime.printer()">打印</button>
</div>